package com.dongjiantong.biz.model;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.dongjiantong.mybatis.BaseEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author
 */
@Table(name = "farm_stock")
@Data
public class FarmStock extends BaseEntity implements Serializable {

    /**
     * 养殖场ID
     */
    private Long farm_id;

    /**
     * 养殖场名字
     */
    private String farm_name;

    /**
     * 起初存栏
     */
    private Integer initial_stock;

    /**
     * 实时存栏
     */
    private Integer real_stock;
    /**
     * 变化存栏
     */
    private Integer change_stock;

    private Date update_time;

    private static final long serialVersionUID = 1L;


}